package constants

// 通用返回的msg
const (
	MsgSuccess       = "success"
	MsgError         = "error"
	MsgInvalidParams = "invalid params"
	MsgJsonError     = "json unmarshal type"
)

// Token相关msg
const (
	MsgNoToken           = "no token"
	MsgAuthenticateError = "authenticate error"
	MsgTokenTimeout      = "token timeout"
)

// 任务状态msg
const (
	MsgTaskNotStart = "NotStart"
	MsgTaskAbandon  = "Abandon"
	MsgTaskDoing    = "Doing"
	MsgTaskDone     = "Done"
)

// 用户相关接口msg
const (
	MsgUserExist        = "user exist"
	MsgUserNotExist     = "user not exist"
	MsgRegisterFail     = "register fail"
	MsgLoginFail        = "login fail"
	MsgIncorrectPwd     = "incorrect password"
	MsgLogoutFail       = "logout fail"
	MsgCannotFindUserID = "cannot find user id"
)

// 任务相关接口msg
const (
	MsgShowTaskFail   = "show task fail"
	MsgFindTaskFail   = "find task fail"
	MsgCreateTaskFail = "create task fail"
	MsgUpdateTaskFail = "update task fail"
)
